import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {UsersComponent} from "../../user/users/users.component";
import {UserAddComponent} from "../../user/users/user-add/user-add.component";
import {UserUpdateComponent} from "../../user/users/user-update/user-update.component";
import {DictionarysComponent} from "./dictionarys.component";
import {DictionaryAddComponent} from "./dictionary-add/dictionary-add.component";
import {DictionaryUpdateComponent} from "./dictionary-update/dictionary-update.component";

const routes: Routes = [
  {
    path :"",
    component :DictionarysComponent
  },
  {
    path :"add",
    component :DictionaryAddComponent
  },
  {
    path :"update",
    component :DictionaryUpdateComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DictionarysRoutingModule { }
